﻿using MediatR;

namespace Medical.Api.Read.Application.Command.Wms.WmsStoresCommand
{
    public class GetMaterialByIdCommand : IRequest<MaterialDetailDto>
    {
        public int Id { get; set; }
        public int MaterialType { get; set; }
        public GetMaterialByIdCommand(int id, int materialType)
        {
            Id = id;
            MaterialType = materialType;
        }
    }

    public class MaterialDetailDto
    {
        public int Id { get; set; }
        public string MaterialName { get; set; }
        public string MaterialTypeName { get; set; }
        public decimal Price { get; set; }
    }
}
